home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 65 6e | 67 6e 65 77 73 31 2e 45 |Path: en|gnews1.E|
|00000010| 6e 67 2e 53 75 6e 2e 43 | 4f 4d 21 74 61 75 6d 65 |ng.Sun.C|OM!taume|
|00000020| 74 21 63 6c 61 6d 61 67 | 65 0a 46 72 6f 6d 3a 20 |t!clamag|e.From: |
|00000030| 6a 61 73 6f 6e 40 63 79 | 67 6e 75 73 2e 63 6f 6d |jason@cy|gnus.com|
|00000040| 20 28 4a 61 73 6f 6e 20 | 4d 65 72 72 69 6c 6c 29 | (Jason |Merrill)|
|00000050| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000060| 70 2e 73 74 64 2e 63 2b | 2b 0a 53 75 62 6a 65 63 |p.std.c+|+.Subjec|
|00000070| 74 3a 20 52 65 3a 20 41 | 72 72 61 79 20 66 75 6e |t: Re: A|rray fun|
|00000080| 63 74 69 6f 6e 20 70 61 | 72 61 6d 73 20 61 6e 64 |ction pa|rams and|
|00000090| 20 63 6f 6e 73 74 20 71 | 75 61 6c 69 66 69 65 72 | const q|ualifier|
|000000a0| 0a 44 61 74 65 3a 20 31 | 32 20 41 70 72 20 31 39 |.Date: 1|2 Apr 19|
|000000b0| 39 36 20 31 37 3a 34 38 | 3a 31 39 20 47 4d 54 0a |96 17:48|:19 GMT.|
|000000c0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 43 79 |Organiza|tion: Cy|
|000000d0| 67 6e 75 73 20 53 75 70 | 70 6f 72 74 2c 20 4d 6f |gnus Sup|port, Mo|
|000000e0| 75 6e 74 61 69 6e 20 56 | 69 65 77 2c 20 43 41 0a |untain V|iew, CA.|
|000000f0| 53 65 6e 64 65 72 3a 20 | 6a 61 73 6f 6e 40 63 79 |Sender: |jason@cy|
|00000100| 67 6e 75 73 2e 63 6f 6d | 0a 41 70 70 72 6f 76 65 |gnus.com|.Approve|
|00000110| 64 3a 20 63 6c 61 6d 61 | 67 65 40 65 6e 67 2e 73 |d: clama|ge@eng.s|
|00000120| 75 6e 2e 63 6f 6d 20 28 | 63 6f 6d 70 2e 73 74 64 |un.com (|comp.std|
|00000130| 2e 63 2b 2b 29 0a 4d 65 | 73 73 61 67 65 2d 49 44 |.c++).Me|ssage-ID|
|00000140| 3a 20 3c 75 39 72 61 74 | 74 73 35 6f 68 2e 66 73 |: <u9rat|ts5oh.fs|
|00000150| 66 40 79 6f 72 69 63 6b | 2e 63 79 67 6e 75 73 2e |f@yorick|.cygnus.|
|00000160| 63 6f 6d 3e 0a 52 65 66 | 65 72 65 6e 63 65 73 3a |com>.Ref|erences:|
|00000170| 20 3c 34 6b 65 30 36 61 | 24 72 70 33 40 6d 6f 7a | <4ke06a|$rp3@moz|
|00000180| 61 72 74 2e 77 67 2e 69 | 63 6c 2e 63 6f 2e 75 6b |art.wg.i|cl.co.uk|
|00000190| 3e 20 3c 34 6b 6a 71 71 | 61 24 62 6f 6c 40 65 6e |> <4kjqq|a$bol@en|
|000001a0| 67 6e 65 77 73 31 2e 45 | 6e 67 2e 53 75 6e 2e 43 |gnews1.E|ng.Sun.C|
|000001b0| 4f 4d 3e 0a 4e 4e 54 50 | 2d 50 6f 73 74 69 6e 67 |OM>.NNTP|-Posting|
|000001c0| 2d 48 6f 73 74 3a 20 74 | 61 75 6d 65 74 2e 65 6e |-Host: t|aumet.en|
|000001d0| 67 2e 73 75 6e 2e 63 6f | 6d 0a 4d 69 6d 65 2d 56 |g.sun.co|m.Mime-V|
|000001e0| 65 72 73 69 6f 6e 3a 20 | 31 2e 30 0a 43 6f 6e 74 |ersion: |1.0.Cont|
|000001f0| 65 6e 74 2d 54 79 70 65 | 3a 20 74 65 78 74 2f 70 |ent-Type|: text/p|
|00000200| 6c 61 69 6e 3b 20 63 68 | 61 72 73 65 74 3d 22 55 |lain; ch|arset="U|
|00000210| 53 2d 41 53 43 49 49 22 | 0a 58 2d 4e 6e 74 70 2d |S-ASCII"|.X-Nntp-|
|00000220| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 79 6f |Posting-|Host: yo|
|00000230| 72 69 63 6b 2e 63 79 67 | 6e 75 73 2e 63 6f 6d 0a |rick.cyg|nus.com.|
|00000240| 49 6e 2d 52 65 70 6c 79 | 2d 54 6f 3a 20 63 6c 61 |In-Reply|-To: cla|
|00000250| 6d 61 67 65 40 45 6e 67 | 2e 53 75 6e 2e 43 4f 4d |mage@Eng|.Sun.COM|
|00000260| 27 73 20 6d 65 73 73 61 | 67 65 20 6f 66 20 31 31 |'s messa|ge of 11|
|00000270| 20 41 70 72 20 31 39 39 | 36 20 31 37 3a 32 37 3a | Apr 199|6 17:27:|
|00000280| 35 39 20 50 44 54 0a 58 | 2d 4e 65 77 73 72 65 61 |59 PDT.X|-Newsrea|
|00000290| 64 65 72 3a 20 47 6e 75 | 73 20 76 35 2e 30 0a 58 |der: Gnu|s v5.0.X|
|000002a0| 2d 4c 69 6e 65 73 3a 20 | 32 36 0a 43 6f 6e 74 65 |-Lines: |26.Conte|
|000002b0| 6e 74 2d 4c 65 6e 67 74 | 68 3a 20 31 31 35 37 0a |nt-Lengt|h: 1157.|
|000002c0| 4f 72 69 67 69 6e 61 74 | 6f 72 3a 20 63 6c 61 6d |Originat|or: clam|
|000002d0| 61 67 65 40 74 61 75 6d | 65 74 0a 0a 3e 3e 3e 3e |age@taum|et..>>>>|
|000002e0| 3e 20 53 74 65 76 65 20 | 43 6c 61 6d 61 67 65 20 |> Steve |Clamage |
|000002f0| 3c 63 6c 61 6d 61 67 65 | 40 45 6e 67 2e 53 75 6e |<clamage|@Eng.Sun|
|00000300| 2e 43 4f 4d 3e 20 77 72 | 69 74 65 73 3a 0a 0a 3e |.COM> wr|ites:..>|
|00000310| 20 49 6e 20 61 72 74 69 | 63 6c 65 20 72 70 33 40 | In arti|cle rp3@|
|00000320| 6d 6f 7a 61 72 74 2e 77 | 67 2e 69 63 6c 2e 63 6f |mozart.w|g.icl.co|
|00000330| 2e 75 6b 2c 20 41 64 65 | 6c 20 45 6c 2d 42 65 69 |.uk, Ade|l El-Bei|
|00000340| 6b 20 3c 41 2e 45 6c 2d | 42 65 69 6b 40 6d 61 6e |k <A.El-|Beik@man|
|00000350| 30 35 30 36 2e 77 69 6e | 73 2e 69 63 6c 2e 63 6f |0506.win|s.icl.co|
|00000360| 2e 75 6b 3e 20 77 72 69 | 74 65 73 3a 0a 3e 3e 20 |.uk> wri|tes:.>> |
|00000370| 49 20 68 61 76 65 20 61 | 20 71 75 65 73 74 69 6f |I have a| questio|
|00000380| 6e 20 63 6f 6e 63 65 72 | 6e 69 6e 67 20 4d 53 56 |n concer|ning MSV|
|00000390| 43 2b 2b 20 76 2e 34 2e | 30 30 20 61 6e 64 20 74 |C++ v.4.|00 and t|
|000003a0| 68 65 20 41 70 72 69 6c | 20 44 57 50 20 43 2b 2b |he April| DWP C++|
|000003b0| 2e 0a 3e 3e 20 0a 3e 3e | 20 54 68 65 20 66 6f 6c |..>> .>>| The fol|
|000003c0| 6c 6f 77 69 6e 67 20 63 | 6f 64 65 20 66 61 69 6c |lowing c|ode fail|
|000003d0| 73 20 6f 6e 20 4d 53 56 | 43 2b 2b 2e 20 20 49 74 |s on MSV|C++. It|
|000003e0| 20 64 6f 65 73 6e 27 74 | 20 6c 69 6b 65 20 6c 69 | doesn't| like li|
|000003f0| 6e 65 20 6c 61 62 65 6c | 6c 65 64 20 31 2e 0a 3e |ne label|led 1..>|
|00000400| 3e 20 49 74 20 63 6f 6d | 70 6c 61 69 6e 73 20 77 |> It com|plains w|
|00000410| 69 74 68 20 0a 3e 3e 20 | 0a 3e 3e 20 43 3a 5c 61 |ith .>> |.>> C:\a|
|00000420| 72 72 61 79 5c 61 72 72 | 61 79 2e 63 70 70 28 31 |rray\arr|ay.cpp(1|
|00000430| 36 29 20 3a 20 65 72 72 | 6f 72 20 43 32 36 36 34 |6) : err|or C2664|
|00000440| 3a 20 27 66 75 6e 63 27 | 20 3a 20 63 61 6e 6e 6f |: 'func'| : canno|
|00000450| 74 20 63 6f 6e 76 65 72 | 74 20 70 61 72 61 6d 65 |t conver|t parame|
|00000460| 74 65 72 20 31 20 0a 3e | 3e 20 66 72 6f 6d 20 27 |ter 1 .>|> from '|
|00000470| 6c 6f 6e 67 20 5b 32 5d | 5b 32 5d 27 20 74 6f 20 |long [2]|[2]' to |
|00000480| 27 63 6f 6e 73 74 20 6c | 6f 6e 67 20 5b 5d 5b 32 |'const l|ong [][2|
|00000490| 5d 27 20 28 6e 65 77 20 | 62 65 68 61 76 69 6f 72 |]' (new |behavior|
|000004a0| 3b 20 70 6c 65 61 73 65 | 20 73 65 65 20 68 65 6c |; please| see hel|
|000004b0| 70 29 0a 0a 3e 20 59 6f | 75 20 68 61 76 65 20 72 |p)..> Yo|u have r|
|000004c0| 75 6e 20 69 6e 74 6f 20 | 65 66 66 65 63 74 69 76 |un into |effectiv|
|000004d0| 65 6c 79 20 74 68 65 20 | 73 61 6d 65 20 72 75 6c |ely the |same rul|
|000004e0| 65 20 74 68 61 74 20 70 | 72 6f 68 69 62 69 74 73 |e that p|rohibits|
|000004f0| 20 69 6d 70 6c 69 63 69 | 74 0a 3e 20 63 6f 6e 76 | implici|t.> conv|
|00000500| 65 72 73 69 6f 6e 20 66 | 72 6f 6d 20 22 54 2a 2a |ersion f|rom "T**|
|00000510| 22 20 74 6f 20 22 63 6f | 6e 73 74 20 54 2a 2a 22 |" to "co|nst T**"|
|00000520| 2e 20 54 68 61 74 20 70 | 72 6f 68 69 62 69 74 69 |. That p|rohibiti|
|00000530| 6f 6e 20 69 73 20 6e 6f | 74 20 6e 65 77 2c 0a 3e |on is no|t new,.>|
|00000540| 20 62 75 74 20 69 73 20 | 69 6e 20 74 68 65 20 49 | but is |in the I|
|00000550| 53 4f 2f 41 4e 53 49 20 | 43 20 73 74 61 6e 64 61 |SO/ANSI |C standa|
|00000560| 72 64 2c 20 61 6e 64 20 | 68 61 73 20 6e 6f 74 20 |rd, and |has not |
|00000570| 62 65 65 6e 20 63 68 61 | 6e 67 65 64 2c 20 73 69 |been cha|nged, si|
|00000580| 6e 63 65 0a 3e 20 69 74 | 20 77 6f 75 6c 64 20 6f |nce.> it| would o|
|00000590| 70 65 6e 20 61 20 68 6f | 6c 65 20 69 6e 20 74 68 |pen a ho|le in th|
|000005a0| 65 20 74 79 70 65 20 73 | 79 73 74 65 6d 2e 0a 0a |e type s|ystem...|
|000005b0| 42 75 74 20 63 6f 6e 76 | 65 72 74 69 6e 67 20 6c |But conv|erting l|
|000005c0| 6f 6e 67 20 28 2a 29 5b | 32 5d 20 74 6f 20 63 6f |ong (*)[|2] to co|
|000005d0| 6e 73 74 20 6c 6f 6e 67 | 20 28 2a 29 5b 32 5d 20 |nst long| (*)[2] |
|000005e0| 69 73 20 6d 6f 72 65 20 | 6c 69 6b 65 20 63 6f 6e |is more |like con|
|000005f0| 76 65 72 74 69 6e 67 0a | 6c 6f 6e 67 20 2a 2a 20 |verting.|long ** |
|00000600| 74 6f 20 63 6f 6e 73 74 | 20 6c 6f 6e 67 20 2a 63 |to const| long *c|
|00000610| 6f 6e 73 74 20 2a 20 74 | 68 61 6e 20 69 74 20 69 |onst * t|han it i|
|00000620| 73 20 6c 69 6b 65 20 63 | 6f 6e 76 65 72 74 69 6e |s like c|onvertin|
|00000630| 67 20 6c 6f 6e 67 20 2a | 2a 20 74 6f 20 63 6f 6e |g long *|* to con|
|00000640| 73 74 0a 6c 6f 6e 67 20 | 2a 2a 2c 20 62 65 63 61 |st.long |**, beca|
|00000650| 75 73 65 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |use ther|e is no |
|00000660| 77 61 79 20 74 6f 20 6d | 6f 64 69 66 79 20 74 68 |way to m|odify th|
|00000670| 65 20 61 72 72 61 79 20 | 2d 2d 20 74 68 65 72 65 |e array |-- there|
|00000680| 20 69 73 2c 20 69 6e 20 | 66 61 63 74 2c 0a 6e 6f | is, in |fact,.no|
|00000690| 20 61 72 72 61 79 20 65 | 6e 74 69 74 79 20 69 6e | array e|ntity in|
|000006a0| 20 6d 65 6d 6f 72 79 2c | 20 6f 6e 6c 79 20 74 77 | memory,| only tw|
|000006b0| 6f 20 6c 6f 6e 67 73 2e | 20 20 41 20 6c 6f 6e 67 |o longs.| A long|
|000006c0| 20 28 2a 29 5b 32 5d 20 | 70 6f 69 6e 74 73 20 74 | (*)[2] |points t|
|000006d0| 6f 20 74 77 6f 0a 6c 6f | 6e 67 73 2c 20 77 68 65 |o two.lo|ngs, whe|
|000006e0| 72 65 61 73 20 61 20 63 | 6f 6e 73 74 20 6c 6f 6e |reas a c|onst lon|
|000006f0| 67 20 28 2a 29 5b 32 5d | 20 70 6f 69 6e 74 73 20 |g (*)[2]| points |
|00000700| 74 6f 20 74 77 6f 20 63 | 6f 6e 73 74 20 6c 6f 6e |to two c|onst lon|
|00000710| 67 73 2e 20 20 49 20 64 | 6f 6e 27 74 20 73 65 65 |gs. I d|on't see|
|00000720| 0a 61 20 63 6f 6e 73 74 | 6e 65 73 73 20 68 6f 6c |.a const|ness hol|
|00000730| 65 20 74 68 65 72 65 2e | 0a 0a 49 20 73 75 73 70 |e there.|..I susp|
|00000740| 65 63 74 20 74 68 69 73 | 20 69 73 20 61 6e 20 6f |ect this| is an o|
|00000750| 76 65 72 73 69 67 68 74 | 2e 0a 0a 4a 61 73 6f 6e |versight|...Jason|
|00000760| 0a 0a 0a 5b 20 63 6f 6d | 70 2e 73 74 64 2e 63 2b |...[ com|p.std.c+|
|00000770| 2b 20 69 73 20 6d 6f 64 | 65 72 61 74 65 64 2e 20 |+ is mod|erated. |
|00000780| 20 54 6f 20 73 75 62 6d | 69 74 20 61 72 74 69 63 | To subm|it artic|
|00000790| 6c 65 73 3a 20 74 72 79 | 20 6a 75 73 74 20 70 6f |les: try| just po|
|000007a0| 73 74 69 6e 67 20 77 69 | 74 68 20 20 20 20 20 20 |sting wi|th |
|000007b0| 5d 0a 5b 20 79 6f 75 72 | 20 6e 65 77 73 2d 72 65 |].[ your| news-re|
|000007c0| 61 64 65 72 2e 20 20 49 | 66 20 74 68 61 74 20 66 |ader. I|f that f|
|000007d0| 61 69 6c 73 2c 20 75 73 | 65 20 6d 61 69 6c 74 6f |ails, us|e mailto|
|000007e0| 3a 73 74 64 2d 63 2b 2b | 40 6e 63 61 72 2e 75 63 |:std-c++|@ncar.uc|
|000007f0| 61 72 2e 65 64 75 20 20 | 20 20 20 20 20 20 20 5d |ar.edu | ]|
|00000800| 0a 5b 20 46 41 51 3a 20 | 20 20 20 20 20 68 74 74 |.[ FAQ: | htt|
|00000810| 70 3a 2f 2f 72 65 61 6c | 69 74 79 2e 73 67 69 2e |p://real|ity.sgi.|
|00000820| 63 6f 6d 2f 65 6d 70 6c | 6f 79 65 65 73 2f 61 75 |com/empl|oyees/au|
|00000830| 73 74 65 72 6e 5f 6d 74 | 69 2f 73 74 64 2d 63 2b |stern_mt|i/std-c+|
|00000840| 2b 2f 66 61 71 2e 68 74 | 6d 6c 20 20 20 20 5d 0a |+/faq.ht|ml ].|
|00000850| 5b 20 50 6f 6c 69 63 79 | 3a 20 20 20 68 74 74 70 |[ Policy|: http|
|00000860| 3a 2f 2f 72 65 61 6c 69 | 74 79 2e 73 67 69 2e 63 |://reali|ty.sgi.c|
|00000870| 6f 6d 2f 65 6d 70 6c 6f | 79 65 65 73 2f 61 75 73 |om/emplo|yees/aus|
|00000880| 74 65 72 6e 5f 6d 74 69 | 2f 73 74 64 2d 63 2b 2b |tern_mti|/std-c++|
|00000890| 2f 70 6f 6c 69 63 79 2e | 68 74 6d 6c 20 5d 0a 5b |/policy.|html ].[|
|000008a0| 20 43 6f 6d 6d 65 6e 74 | 73 3f 20 6d 61 69 6c 74 | Comment|s? mailt|
|000008b0| 6f 3a 73 74 64 2d 63 2b | 2b 2d 72 65 71 75 65 73 |o:std-c+|+-reques|
|000008c0| 74 40 6e 63 61 72 2e 75 | 63 61 72 2e 65 64 75 20 |t@ncar.u|car.edu |
|000008d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 5d 0a | | ]. |
+--------+-------------------------+-------------------------+--------+--------+